{
"info": {
"_postman_id": "293cbaeb-decf-487c-aad9-61835b4542bd",
"name": "Test Collection",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "14216971"
},
"item": [
{
"name": "Test GET",
"request": {
"protocol": {
"method": "GET",
"body": "no_body"
},
"header": [],
"url": {
"raw": "https://httpbin.org/get",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"get"
]
}
},
"response": []
},
{
"name": "Test POST plain text",
"request": {
"protocol": {
"method": "POST",
"body": "no_body"
},
"header": [],
"body": {
"mode": "raw",
"raw": "After all why not?",
"options": {
"raw": {
"language": "text"
}
}
},
"url": {
"raw": "https://httpbin.org/post",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"post"
]
}
},
"response": []
},
{
"name": "Test POST JSON",
"request": {
"protocol": {
"method": "POST",
"body": "no_body"
},
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"some_json\": 42\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://httpbin.org/post",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"post"
]
}
},
"response": []
},
{
"name": "Test PUT",
"request": {
"protocol": {
"method": "PUT",
"body": "no_body"
},
"header": [],
"url": {
"raw": "https://httpbin.org/put",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"put"
]
}
},
"response": []
},
{
"name": "Test DELETE",
"request": {
"protocol": {
"method": "DELETE",
"body": "no_body"
},
"header": [],
"url": {
"raw": "https://httpbin.org/delete",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"delete"
]
}
},
"response": []
},
{
"name": "Test OPTIONS",
"request": {
"protocol": {
"method": "OPTIONS",
"body": "no_body"
},
"header": [],
"url": {
"raw": "https://test.com",
"protocol": "https",
"host": [
"test",
"com"
]
}
},
"response": []
},
{
"name": "Test Basic",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "pwd",
"type": "string"
},
{
"key": "username",
"value": "username",
"type": "string"
}
]
},
"protocol": {
"method": "GET",
"body": "no_body"
},
"header": [],
"url": {
"raw": "https://httpbin.org/basic-auth/username/pwd",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"basic-auth",
"username",
"pwd"
]
}
},
"response": []
},
{
"name": "Test Bearer Token",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "my_bearer=",
"type": "string"
}
]
},
"protocol": {
"method": "GET",
"body": "no_body"
},
"header": [],
"url": {
"raw": "https://httpbin.org/bearer",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"bearer"
]
}
},
"response": []
},
{
"name": "Check Headers",
"request": {
"protocol": {
"method": "GET",
"body": "no_body"
},
"header": [],
"url": {
"raw": "https://httpbin.org/headers",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"headers"
]
}
},
"response": []
},
{
"name": "Test Query Params",
"request": {
"protocol": {
"method": "GET",
"body": "no_body"
},
"header": [],
"url": {
"raw": "https://httpbin.org/get?my_param=42",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"get"
],
"query": [
{
"key": "my_param",
"value": "42"
}
]
}
},
"response": []
},
{
"name": "Test Multipart Form",
"protocolProfileBehavior": {
"followRedirects": false,
"disableCookies": true
},
"request": {
"protocol": {
"method": "POST",
"body": "no_body"
},
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "custname",
"value": "ddddd",
"type": "text"
},
{
"key": "custtel",
"value": "",
"type": "text"
},
{
"key": "custemail",
"value": "",
"type": "text"
},
{
"key": "delivery",
"value": "",
"type": "text"
},
{
"key": "comments",
"value": "",
"type": "text"
},
{
"key": "some_file",
"type": "file",
"src": "/C:/Users/u248244/Documents/Rust/ATAC/LICENSE"
}
]
},
"url": {
"raw": "https://httpbin.org/post",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"post"
]
}
},
"response": []
},
{
"name": "Test URL encoded form",
"request": {
"protocol": {
"method": "POST",
"body": "no_body"
},
"header": [],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "some_key",
"value": "some_value",
"type": "text"
}
]
},
"url": {
"raw": "https://httpbin.org/post",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"post"
]
}
},
"response": []
},
{
"name": "Test File",
"request": {
"protocol": {
"method": "POST",
"body": "no_body"
},
"header": [],
"body": {
"mode": "file",
"file": {
"src": "/C:/Users/u248244/Documents/Rust/ATAC/import_tests/swagger-petstore-v2.1.0.json"
}
},
"url": {
"raw": "https://httpbin.org/post",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"post"
]
}
},
"response": []
},
{
"name": "Test Javascript",
"request": {
"protocol": {
"method": "POST",
"body": "no_body"
},
"header": [],
"body": {
"mode": "raw",
"raw": "function some_function() {\r\n return \"test\"\r\n}",
"options": {
"raw": {
"language": "javascript"
}
}
},
"url": {
"raw": "https://httpbin.org/post",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"post"
]
}
},
"response": []
},
{
"name": "Test pre-request script",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
"pm.request.url = \"https://httpbin.org/get\"\r",
"console.log(pm.request.method)"
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"protocol": {
"method": "GET",
"body": "no_body"
},
"header": [],
"url": {
"raw": "https://httpbin.org/post",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"post"
]
}
},
"response": []
}
]
}